package com.xiehua.task.job;

import com.xiehua.task.redis.RedisTemplate;
import redis.clients.jedis.Jedis;

public class RidesOperationDefualt implements RidesOperation{

    protected Jedis jedis;

    public RidesOperationDefualt(Jedis jedis){
        this.jedis = jedis;
    }

    @Override
    public void clear() {
        RedisTemplate.closeRedis(jedis);
    }
}
